import Vue from "vue";
import App from "./App.vue";
import router from "./router";
//引入配置好的axios
// import axios from "@/api/request";
// Vue.prototype.$axios = axios;
//import * as API from "@/api";

// 引入配置好的vuex
import store from "@/store";

// 引入element-ui
import "@/plugins/element.js";

//导入字体图标
import "@/assets/fonts/css/font-awesome.min.css";
//导入全局样式
import "./assets/css/global.css";

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
  router,
  store,
}).$mount("#app");
